package truef.service.customer.service.Impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import edu.zut.cs.software.base.service.impl.GenericTreeManagerImpl;
import truef.customer.dao.CustomerDao;
import truef.customer.domain.Customer;
import truef.service.customer.service.CustomerManager;
/*
 * Author:LiRuiheng
 */
@Service(value="CustomerManager")
public class CustomerManagerImpl extends GenericTreeManagerImpl<Customer,Long> implements CustomerManager{

	CustomerDao customerDao;

	@Autowired
	public void setCustomerDao(CustomerDao customerDao) {
		this.customerDao = customerDao;
		this.treeDao = this.customerDao;
		this.dao = this.treeDao;
	}

}